Release 10.1A: OpenEdge Development:
Programming Interfaces
Disconnecting databases
By default, OpenEdge disconnects all databases at the end of a session. You can explicitly disconnect a database with the
DISCONNECTstatement, which has the following syntax:
The
logical–database–namerepresents the logical name of a connected database. It can be an unquoted string, a quoted string, or a character expression.A
DISCONNECTstatement does not execute until all active procedures that reference the database end or stop:
In these procedures, the
mydbdatabase is not disconnected until the end of thei-subproc1.pprocedure.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |